package com.sky.mapper;
import com.sky.entity.UserStatus;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author 符健清
 * @version 1.0
 */
@SuppressWarnings({"all"})
@Mapper
public interface UserStatusServiceMapper {
/**
 * 添加
 */
@Insert("insert into  user_status ( user_id, status, name, login_datetime, exti_datetime) value (#{userId},#{status},#{userName},#{loginDatetime},#{extiDatetime})")
 public void insertUserStatus(UserStatus userStatus);
/**
 * 修改
 */
@Update("update  user_status set  status =#{status}  where user_id=#{userId}")
public void  updateUserStatus(UserStatus userStatus);
}
